﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Trapezoid Area</title>
    <link href="styles/js-console.css" rel="stylesheet" />
</head>
<body>
    <div id="js-console"></div>
	<script src="scripts/js-console.js"></script>

    <script>
        var a = 1;
        var b = 2;
        var h = 3;
        var area = ((a + b) * h) / 2

        jsConsole.writeLine(area);
    </script>
</body>
</html>
